import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

import '../../resources/kq_theme_colors.dart';

/// 彩虹条上tips的构造器
class KqRbTipsBuilder {
  KqRbTipsBuilder({
    this.windowPadding = const EdgeInsets.fromLTRB(6, 6, 6, 6),
    this.arrowWidth = 6,
    this.arrowHeight = 6,
    this.backgroundColor = KqThemeColors.bgBlue,
    this.textStyle = const TextStyle(fontSize: 16,color: Colors.white),
    this.radius = const Radius.circular(4),
    this.tipsOffset = 0,
  });
  /// 文本和窗口间的padding
  EdgeInsets? windowPadding;

  /// 箭头宽
  double? arrowWidth;

  /// 箭头高
  double? arrowHeight;

  /// 背景色
  Color? backgroundColor;

  /// 文本格式
  TextStyle? textStyle;

  /// 圆角
  Radius? radius;

  /// tips相对于彩虹条的偏移量
  double? tipsOffset;
}
